import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'test-ng-for',
  templateUrl: './ng-for.component.html',
  styleUrls: ['./ng-for.component.scss']
})
export class NgForComponent implements OnInit {

  public races:Array<any>=[{name:"人族"},{name:"神族"},{name:"虫族"}]
  constructor() { }

  ngOnInit() {
  }

}
